package com.liuzu.esys.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Description :天干物燥，小心火烛
 * @Author : yyh
 * @Date : 2022/07/25 14:44:06
 * @desc
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Error {
    //错误id
    private Integer id;
    //失误类别
    private String type;
    //失误时间
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date time;
    //失误描述
    private String describes;
    //失误级别
    private String level;
    //失误负责人
    private String person;
    //失误处分
    private String punish;
}
